<?php
$msg = $_REQUEST["msg"];
// 获取请求头
// print_r($_SERVER);
// sleep(3);
header("Content-Type:application/json;charset=UTF-8");
echo "[";
echo "{\"id\": 1, \"name\": \"tom\", \"age\": 22, \"sex\": \"man\", \"msg\": \"$msg\"},";
echo "{\"id\": 2, \"name\": \"jerry\", \"age\": 20, \"sex\": \"man\"}";
echo "]";
?>